package io.xiaojl.xj2ee.modules.sys.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import io.xiaojl.xj2ee.modules.sys.entity.SysRoleEntity;

@Mapper
public interface SysRoleEntityMapper {
    int deleteByPrimaryKey(Long roleId);

    int insert(SysRoleEntity record);

    int insertSelective(SysRoleEntity record);

    SysRoleEntity selectByPrimaryKey(Long roleId);

    int updateByPrimaryKeySelective(SysRoleEntity record);

    int updateByPrimaryKey(SysRoleEntity record);

	/**  
	 * <p>Title: selectListByPage</p>  
	 *
	 * <p>Description: 分页条件查询</p>  
	 *
	 * @param condition
	 * @return  
	 */ 
	List<SysRoleEntity> selectListByPage(Map<String, Object> condition);

	/**  
	 * <p>Title: deleteBatchIds</p>  
	 *
	 * <p>Description:  根据角色ID数组，批量删除</p>  
	 *
	 * @param asList  
	 */ 
	void deleteBatchIds(Long[] roleIds);

	/**  
	 * <p>Title: selectList</p>  
	 *
	 * <p>Description: </p>  
	 *
	 * @param condition
	 * @return  
	 */ 
	List<SysRoleEntity> selectList(Map<String, Object> condition);
	
}